function #advm:player_hit_entity
advancement revoke @s from advm:player_hit_entity